from lingcod.mpa.forms import MpaForm as BaseMpaForm
from lingcod.array.forms import ArrayForm as BaseArrayForm
from models import Zone, ZoneArray

class ZoneArrayForm(BaseArrayForm):
    class Meta(BaseArrayForm.Meta):
        model = ZoneArray
        exclude = ('sharing_groups',)

class ZoneForm(BaseMpaForm):
    class Meta:
        model = Zone
        exclude = ('sharing_groups','content_type','object_id',)

